StartSimulationEngine  "SimState/basicsim.xml"


AddNewEntity    ent1  	/Position:0  1.0  0

AddBoxShape  
	/Dimensions:0.4  2.0  0.4  	/Mass:100

AddNewEntity    ent2  	/Position:0.4  0  0
	/ParentEntity:ent1

AddCapsuleShape  
	/Radius:0.1  	/Height:0.6  	/Mass:0.1


AddJoint    joint1
	/ChildEntity:ent2
	/JointPosition:0  0  0
	/XAngular:velocity  500000  100000  0  1000000

FlushScript  

ent2.JointVelocity(10, 0, 0)

